.card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.3s ease, 
              border-color 0.3s ease;
  padding: 1.5rem !important;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 160, 110, 0.3);
}

a.card:not(.header-github-link):not(.github-icon-button)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  opacity: 0;
  transform: scaleX(0.6) translateY(3px);
  transition: all var(--transition-smooth);
}

.card:hover:after {
  opacity: 1;
  transform: scaleX(1) translateY(0);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ifm-heading-color);
  display: flex;
  align-items: center;
}

.card img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  border-radius: var(--radius-sm);
}

.card p {
  margin-bottom: 0;
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.row .col--6 {
  margin-bottom: 1.25rem;
}

@media (max-width: 996px) {
  .card:hover {
    transform: translateY(-3px);
  }
}

